# source 'https://rubygems.org'
source 'https://gems.ruby-china.com'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.2'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
gem 'rails', '~> 6.1.3'
# Use sqlite3 as the database for Active Record
# gem 'sqlite3', '~> 1.4'
gem 'mysql2'
gem 'httparty'

# Use Puma as the app server
gem 'puma', '~> 5.0'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
# gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Active Storage variant
# gem 'image_processing', '~> 1.2'

# Reduces boot times through caching; required in config/boot.rb
gem 'ed25519', '>= 1.2'
gem 'bcrypt_pbkdf', '>= 1.0'

gem 'bcrypt'
gem 'jwt'

gem 'ransack', github: 'activerecord-hackery/ransack'
gem 'figaro'
gem 'bootsnap', '>= 1.4.4', require: false
gem 'dotenv-rails'
gem 'grape'
gem 'redis'
gem "redis-rails"
gem 'sidekiq'
gem "roo", "~> 2.8.0"
gem 'roo-xls'
gem 'spreadsheet'
gem 'kaminari'
gem 'paperclip'
gem 'rack-cors'
gem 'caxlsx'
gem 'caxlsx_rails'
gem 'rest-client'
gem 'whenever', require: false

# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
# gem 'rack-cors'

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  # gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end

group :development do
  gem 'pry'
  gem 'pry-rails'

  gem 'listen', '~> 3.3'
  gem 'spring'
  # gem 'annotate', '2.7.2'
  # gem 'rails-erd'
  # gem 'bundler-audit', require: false

  gem 'capistrano', '~> 3.16.0'
  gem 'capistrano-bundler'
  gem 'capistrano-rails'
  gem 'capistrano-sidekiq'
  gem 'capistrano-rvm'
  gem 'capistrano3-puma'
  gem 'capistrano-rake', require: false
  gem 'capistrano-bearychat', require: false
  gem 'capistrano-db-tasks', require: false

  # gem 'foreman', '~> 0.84.0'
  # gem 'pry-rails'

  # gem 'better_errors'
  # gem 'binding_of_caller'

  # gem 'spring-commands-rspec'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
# gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]


